<!Doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title></title>
 <script src="jquery-3.3.1.min.js"></script>
 
 <script>
function ajaxtest()
{
$.ajax({
 url: "http://120.27.32.237:83/common.ashx?method=login",
 dataType:'json',
 type:'POST',
 data:{"username":'abc',"password":'abc'},
 success: function(data){
		alert(data);
      },
error: function(error){
		alert("ERROR!");
   }
})

}
 </script>
 <style>

 .form-horizontal{
 border:1px solid red;
 width:500px;
 }
 form-group{
    width: 1053px;
}
 </style>
</head>
<body>
<a onclick="ajaxtest()">click</a>
</body>
</html>